<?php
/**
 * com_easiv2
 * 
 * @author Lukas Gruber, Internet Technology Kapfenberg, FH JOANNEUN
 * @copyright 2011, Lukas Gruber, Internet Technology Kapfenberg, FH JOANNEUM
 * @license GNU/GPLv3 - http://www.gnu.org/licenses/gpl-3.0.html
 * @contact lukasgruber@gmx.net
 * @website http://www.lukasg255.bplaced.net
 */

defined('_JEXEC') or die();

jimport('joomla.application.component.view');

class Easiv2ViewEditInstances extends JView {
	
	function display($tpl = null) {
		$this->addToolbar();
		
		$this->idsToEdit = JRequest::getVar('cid');
		
		parent::display($tpl);
	}
	
	function addToolbar() {
		JToolbarHelper::title(JText::_('COM_EASIV2_EDITINSTANCES_VIEW_TITLE'), 'checkin.png');
		
		JToolbarHelper::save('editInstances.update', JText::_('COM_EASIV2_EDITINSTANCES_VIEW_BUTTON_UPDATE'));
		JToolbarHelper::divider();
		JToolBarHelper::custom('editInstances.cancel', 'back', 'back', JText::_('COM_EASIV2_EDITINSTANCES_VIEW_BUTTON_GOTO_INSTANCEMANAGEMENT'), false);
	}
}